/*
  Copyright (c), 2001-2025, Shenshu Tech. Co., Ltd.
 */

#ifndef HI_DEFINES_H
#define HI_DEFINES_H

#include "autoconf.h"
#include "ot_defines.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifndef HI_CHIP
#define HI_CHIP OT_CHIP
#endif

#define HI_CHIP_SD3403V100  OT_CHIP_SD3403V100
#define HI_CHIP_SD3491V100  OT_CHIP_SD3491V100
#define HI_CHIP_HI3516DV500 OT_CHIP_HI3516DV500
#define HI_CHIP_HI3519DV500 OT_CHIP_HI3519DV500
#define HI_CHIP_HI3516CV610 OT_CHIP_HI3516CV610

#define HI_CHIP_NAME OT_CHIP_NAME
#define HI_MAX_BIND_DST_NUM OT_MAX_BIND_DST_NUM
#define HI_MPP_VER_PRIX OT_MPP_VER_PRIX
#define HI_MAX_COLOR_COMPONENT OT_MAX_COLOR_COMPONENT
#define HI_ALIGN_NUM OT_ALIGN_NUM
#define HI_MAX_PRIVATE_DATA_NUM OT_MAX_PRIVATE_DATA_NUM
#define HI_MAX_USER_DATA_NUM OT_MAX_USER_DATA_NUM
#define HI_LUMA_PHYS_ALIGN OT_LUMA_PHYS_ALIGN
#define HI_DEFAULT_ALIGN OT_DEFAULT_ALIGN
#define HI_MAX_ALIGN OT_MAX_ALIGN
#define HI_SEG_COMPRESS_LEN OT_SEG_COMPRESS_LEN
#define HI_MAX_MMZ_NAME_LEN OT_MAX_MMZ_NAME_LEN
#define HI_QUAD_POINT_NUM OT_QUAD_POINT_NUM
#define HI_VB_MAX_POOLS OT_VB_MAX_POOLS
#define HI_VENC_VEDU_IP_NUM OT_VENC_VEDU_IP_NUM
#define HI_VENC_JPGE_IP_NUM OT_VENC_JPGE_IP_NUM
#define HI_VENC_MAX_TILE_NUM OT_VENC_MAX_TILE_NUM
#define HI_VENC_MAX_REG_NUM OT_VENC_MAX_REG_NUM
#define HI_VENC_MAX_CHN_NUM OT_VENC_MAX_CHN_NUM
#define HI_VENC_H264_MAX_WIDTH OT_VENC_H264_MAX_WIDTH
#define HI_VENC_H264_MAX_HEIGHT OT_VENC_H264_MAX_HEIGHT
#define HI_VENC_H264_MIN_WIDTH OT_VENC_H264_MIN_WIDTH
#define HI_VENC_H264_MIN_HEIGHT OT_VENC_H264_MIN_HEIGHT
#define HI_VENC_H265_MAX_WIDTH OT_VENC_H265_MAX_WIDTH
#define HI_VENC_H265_MAX_HEIGHT OT_VENC_H265_MAX_HEIGHT
#define HI_VENC_H265_MIN_WIDTH OT_VENC_H265_MIN_WIDTH
#define HI_VENC_H265_MIN_HEIGHT OT_VENC_H265_MIN_HEIGHT
#define HI_VENC_SVAC3_MAX_WIDTH OT_VENC_SVAC3_MAX_WIDTH
#define HI_VENC_SVAC3_MAX_HEIGHT OT_VENC_SVAC3_MAX_HEIGHT
#define HI_VENC_SVAC3_MIN_WIDTH OT_VENC_SVAC3_MIN_WIDTH
#define HI_VENC_SVAC3_MIN_HEIGHT OT_VENC_SVAC3_MIN_HEIGHT
#define HI_VENC_SVAC3_ADAPTIVE_FRAME_TYPE OT_VENC_SVAC3_ADAPTIVE_FRAME_TYPE
#define HI_VENC_SVAC3_ADAPTIVE_QP_TYPE OT_VENC_SVAC3_ADAPTIVE_QP_TYPE
#define HI_VENC_SVAC3E_LCU_SIZE OT_VENC_SVAC3E_LCU_SIZE
#define HI_VENC_JPEG_MAX_WIDTH OT_VENC_JPEG_MAX_WIDTH
#define HI_VENC_JPEG_MAX_HEIGHT OT_VENC_JPEG_MAX_HEIGHT
#define HI_VENC_JPEG_MIN_WIDTH OT_VENC_JPEG_MIN_WIDTH
#define HI_VENC_JPEG_MIN_HEIGHT OT_VENC_JPEG_MIN_HEIGHT
#define HI_VENC_MAX_INPUT_FRAME_RATE OT_VENC_MAX_INPUT_FRAME_RATE
#define HI_VENC_MIN_INPUT_FRAME_RATE OT_VENC_MIN_INPUT_FRAME_RATE
#define HI_VENC_MAX_RECV_SRC OT_VENC_MAX_RECV_SRC
#define HI_VENC_H265_ADAPTIVE_FRAME_TYPE OT_VENC_H265_ADAPTIVE_FRAME_TYPE
#define HI_VENC_H265_ADAPTIVE_QP_TYPE OT_VENC_H265_ADAPTIVE_QP_TYPE
#define HI_VENC_H265E_LCU_SIZE OT_VENC_H265E_LCU_SIZE
#define HI_VENC_MAX_BITRATE OT_VENC_MAX_BITRATE
#define HI_VENC_MIN_BITRATE OT_VENC_MIN_BITRATE
#define HI_VENC_MAX_IN_DEPTH OT_VENC_MAX_IN_DEPTH
#define HI_VDEC_MAX_CHN_NUM OT_VDEC_MAX_CHN_NUM
#define HI_VFMW_MAX_CHN_NUM OT_VFMW_MAX_CHN_NUM
#define HI_H264D_ALIGN_W OT_H264D_ALIGN_W
#define HI_H264D_ALIGN_H OT_H264D_ALIGN_H
#define HI_H265D_ALIGN_W OT_H265D_ALIGN_W
#define HI_H265D_ALIGN_H OT_H265D_ALIGN_H
#define HI_JPEGD_ALIGN_W OT_JPEGD_ALIGN_W
#define HI_JPEGD_ALIGN_H OT_JPEGD_ALIGN_H
#define HI_H264D_MAX_SPS OT_H264D_MAX_SPS
#define HI_H264D_MIN_SPS OT_H264D_MIN_SPS
#define HI_H264D_MAX_PPS OT_H264D_MAX_PPS
#define HI_H264D_MIN_PPS OT_H264D_MIN_PPS
#define HI_H264D_MAX_SLICE OT_H264D_MAX_SLICE
#define HI_H264D_MIN_SLICE OT_H264D_MIN_SLICE
#define HI_H265D_MAX_VPS OT_H265D_MAX_VPS
#define HI_H265D_MIN_VPS OT_H265D_MIN_VPS
#define HI_H265D_MAX_SPS OT_H265D_MAX_SPS
#define HI_H265D_MIN_SPS OT_H265D_MIN_SPS
#define HI_H265D_MAX_PPS OT_H265D_MAX_PPS
#define HI_H265D_MIN_PPS OT_H265D_MIN_PPS
#define HI_H265D_MAX_SLICE OT_H265D_MAX_SLICE
#define HI_H265D_MIN_SLICE OT_H265D_MIN_SLICE
#define HI_H264D_MAX_WIDTH OT_H264D_MAX_WIDTH
#define HI_H264D_MAX_HEIGHT OT_H264D_MAX_HEIGHT
#define HI_H264D_MIN_WIDTH OT_H264D_MIN_WIDTH
#define HI_H264D_MIN_HEIGHT OT_H264D_MIN_HEIGHT
#define HI_H265D_MAX_WIDTH OT_H265D_MAX_WIDTH
#define HI_H265D_MAX_HEIGHT OT_H265D_MAX_HEIGHT
#define HI_H265D_MIN_WIDTH OT_H265D_MIN_WIDTH
#define HI_H265D_MIN_HEIGHT OT_H265D_MIN_HEIGHT
#define HI_VDH_MIN_MSG_NUM OT_VDH_MIN_MSG_NUM
#define HI_VDH_MAX_MSG_NUM OT_VDH_MAX_MSG_NUM
#define HI_VEDU_MSG_NUM OT_VEDU_MSG_NUM
#define HI_JPEGD_IP_NUM OT_JPEGD_IP_NUM
#define HI_JPEGD_MAX_WIDTH OT_JPEGD_MAX_WIDTH
#define HI_JPEGD_MAX_HEIGHT OT_JPEGD_MAX_HEIGHT
#define HI_JPEGD_MIN_WIDTH OT_JPEGD_MIN_WIDTH
#define HI_JPEGD_MIN_HEIGHT OT_JPEGD_MIN_HEIGHT
#define HI_RGN_MIN_WIDTH OT_RGN_MIN_WIDTH
#define HI_RGN_MIN_HEIGHT OT_RGN_MIN_HEIGHT
#define HI_RGN_ALIGN OT_RGN_ALIGN
#define HI_RGN_COVER_MIN_X OT_RGN_COVER_MIN_X
#define HI_RGN_COVER_MIN_Y OT_RGN_COVER_MIN_Y
#define HI_RGN_COVER_MAX_X OT_RGN_COVER_MAX_X
#define HI_RGN_COVER_MAX_Y OT_RGN_COVER_MAX_Y
#define HI_RGN_COVER_MAX_WIDTH OT_RGN_COVER_MAX_WIDTH
#define HI_RGN_COVER_MAX_HEIGHT OT_RGN_COVER_MAX_HEIGHT
#define HI_RGN_COVER_MIN_THICK OT_RGN_COVER_MIN_THICK
#define HI_RGN_COVER_MAX_THICK OT_RGN_COVER_MAX_THICK
#define HI_RGN_COVER_THICK_ALIGN OT_RGN_COVER_THICK_ALIGN
#define HI_RGN_COVEREX_MIN_X OT_RGN_COVEREX_MIN_X
#define HI_RGN_COVEREX_MIN_Y OT_RGN_COVEREX_MIN_Y
#define HI_RGN_COVEREX_MAX_X OT_RGN_COVEREX_MAX_X
#define HI_RGN_COVEREX_MAX_Y OT_RGN_COVEREX_MAX_Y
#define HI_RGN_COVEREX_MAX_WIDTH OT_RGN_COVEREX_MAX_WIDTH
#define HI_RGN_COVEREX_MAX_HEIGHT OT_RGN_COVEREX_MAX_HEIGHT
#define HI_RGN_COVEREX_MIN_THICK OT_RGN_COVEREX_MIN_THICK
#define HI_RGN_COVEREX_MAX_THICK OT_RGN_COVEREX_MAX_THICK
#define HI_RGN_COVEREX_THICK_ALIGN OT_RGN_COVEREX_THICK_ALIGN
#define HI_RGN_OVERLAY_MIN_X OT_RGN_OVERLAY_MIN_X
#define HI_RGN_OVERLAY_MIN_Y OT_RGN_OVERLAY_MIN_Y
#define HI_RGN_OVERLAY_MAX_X OT_RGN_OVERLAY_MAX_X
#define HI_RGN_OVERLAY_MAX_Y OT_RGN_OVERLAY_MAX_Y
#define HI_RGN_OVERLAY_MAX_WIDTH OT_RGN_OVERLAY_MAX_WIDTH
#define HI_RGN_OVERLAY_MAX_HEIGHT OT_RGN_OVERLAY_MAX_HEIGHT
#define HI_RGN_OVERLAY_MIN_ALPHA OT_RGN_OVERLAY_MIN_ALPHA
#define HI_RGN_OVERLAY_MAX_ALPHA OT_RGN_OVERLAY_MAX_ALPHA
#define HI_RGN_OVERLAY_VENC_MAX_ALPHA OT_RGN_OVERLAY_VENC_MAX_ALPHA
#define HI_RGN_OVERLAYEX_MIN_X OT_RGN_OVERLAYEX_MIN_X
#define HI_RGN_OVERLAYEX_MIN_Y OT_RGN_OVERLAYEX_MIN_Y
#define HI_RGN_OVERLAYEX_MAX_X OT_RGN_OVERLAYEX_MAX_X
#define HI_RGN_OVERLAYEX_MAX_Y OT_RGN_OVERLAYEX_MAX_Y
#define HI_RGN_OVERLAYEX_MAX_WIDTH OT_RGN_OVERLAYEX_MAX_WIDTH
#define HI_RGN_OVERLAYEX_MAX_HEIGHT OT_RGN_OVERLAYEX_MAX_HEIGHT
#define HI_RGN_OVERLAYEX_MIN_ALPHA OT_RGN_OVERLAYEX_MIN_ALPHA
#define HI_RGN_OVERLAYEX_MAX_ALPHA OT_RGN_OVERLAYEX_MAX_ALPHA
#define HI_RGN_LINEEX_MIN_X OT_RGN_LINEEX_MIN_X
#define HI_RGN_LINEEX_MIN_Y OT_RGN_LINEEX_MIN_Y
#define HI_RGN_LINEEX_MAX_X OT_RGN_LINEEX_MAX_X
#define HI_RGN_LINEEX_MAX_Y OT_RGN_LINEEX_MAX_Y
#define HI_RGN_LINEEX_MIN_THICK OT_RGN_LINEEX_MIN_THICK
#define HI_RGN_LINEEX_MAX_THICK OT_RGN_LINEEX_MAX_THICK
#define HI_RGN_CORNER_RECT_MIN_X OT_RGN_CORNER_RECT_MIN_X
#define HI_RGN_CORNER_RECT_MIN_Y OT_RGN_CORNER_RECT_MIN_Y
#define HI_RGN_CORNER_RECT_MAX_X OT_RGN_CORNER_RECT_MAX_X
#define HI_RGN_CORNER_RECT_MAX_Y OT_RGN_CORNER_RECT_MAX_Y
#define HI_RGN_CORNER_RECT_MIN_THICK OT_RGN_CORNER_RECT_MIN_THICK
#define HI_RGN_CORNER_RECT_MAX_THICK OT_RGN_CORNER_RECT_MAX_THICK
#define HI_RGN_CORNER_RECT_THICK_ALIGN OT_RGN_CORNER_RECT_THICK_ALIGN
#define HI_RGN_CORNER_RECT_MAX_WIDTH OT_RGN_CORNER_RECT_MAX_WIDTH
#define HI_RGN_CORNER_RECT_MAX_HEIGHT OT_RGN_CORNER_RECT_MAX_HEIGHT
#define HI_RGN_CORNER_RECT_MIN_HOR_LEN OT_RGN_CORNER_RECT_MIN_HOR_LEN
#define HI_RGN_CORNER_RECT_MAX_HOR_LEN OT_RGN_CORNER_RECT_MAX_HOR_LEN
#define HI_RGN_CORNER_RECT_MIN_VER_LEN OT_RGN_CORNER_RECT_MIN_VER_LEN
#define HI_RGN_CORNER_RECT_MAX_VER_LEN OT_RGN_CORNER_RECT_MAX_VER_LEN
#define HI_RGN_CORNER_RECTEX_MIN_X OT_RGN_CORNER_RECTEX_MIN_X
#define HI_RGN_CORNER_RECTEX_MIN_Y OT_RGN_CORNER_RECTEX_MIN_Y
#define HI_RGN_CORNER_RECTEX_MAX_X OT_RGN_CORNER_RECTEX_MAX_X
#define HI_RGN_CORNER_RECTEX_MAX_Y OT_RGN_CORNER_RECTEX_MAX_Y
#define HI_RGN_CORNER_RECTEX_MIN_THICK OT_RGN_CORNER_RECTEX_MIN_THICK
#define HI_RGN_CORNER_RECTEX_MAX_THICK OT_RGN_CORNER_RECTEX_MAX_THICK
#define HI_RGN_CORNER_RECTEX_THICK_ALIGN OT_RGN_CORNER_RECTEX_THICK_ALIGN
#define HI_RGN_CORNER_RECTEX_MAX_WIDTH OT_RGN_CORNER_RECTEX_MAX_WIDTH
#define HI_RGN_CORNER_RECTEX_MAX_HEIGHT OT_RGN_CORNER_RECTEX_MAX_HEIGHT
#define HI_RGN_CORNER_RECTEX_MIN_HOR_LEN OT_RGN_CORNER_RECTEX_MIN_HOR_LEN
#define HI_RGN_CORNER_RECTEX_MAX_HOR_LEN OT_RGN_CORNER_RECTEX_MAX_HOR_LEN
#define HI_RGN_CORNER_RECTEX_MIN_VER_LEN OT_RGN_CORNER_RECTEX_MIN_VER_LEN
#define HI_RGN_CORNER_RECTEX_MAX_VER_LEN OT_RGN_CORNER_RECTEX_MAX_VER_LEN
#define HI_RGN_HANDLE_MAX OT_RGN_HANDLE_MAX
#define HI_RGN_MAX_BUF_NUM OT_RGN_MAX_BUF_NUM
#define HI_RGN_VI_MAX_COVEREX_NUM OT_RGN_VI_MAX_COVEREX_NUM
#define HI_RGN_VENC_MAX_OVERLAY_NUM OT_RGN_VENC_MAX_OVERLAY_NUM
#define HI_RGN_VPSS_MAX_COVER_NUM OT_RGN_VPSS_MAX_COVER_NUM
#define HI_RGN_VPSS_MAX_RECT_COVER_NUM OT_RGN_VPSS_MAX_RECT_COVER_NUM
#define HI_RGN_VPSS_MAX_QUAD_COVER_NUM OT_RGN_VPSS_MAX_QUAD_COVER_NUM
#define HI_RGN_VPSS_MAX_COVEREX_NUM OT_RGN_VPSS_MAX_COVEREX_NUM
#define HI_RGN_VPSS_MAX_OVERLAYEX_NUM OT_RGN_VPSS_MAX_OVERLAYEX_NUM
#define HI_RGN_VPSS_MAX_LINEEX_NUM OT_RGN_VPSS_MAX_LINEEX_NUM
#define HI_RGN_VPSS_MAX_CORNER_RECT_NUM OT_RGN_VPSS_MAX_CORNER_RECT_NUM
#define HI_RGN_VPSS_MAX_CORNER_RECTEX_NUM OT_RGN_VPSS_MAX_CORNER_RECTEX_NUM
#define HI_RGN_VGS_MAX_TASK_WIDTH OT_RGN_VGS_MAX_TASK_WIDTH
#define HI_VI_MAX_DEV_NUM OT_VI_MAX_DEV_NUM
#define HI_VI_MAX_PHYS_PIPE_NUM OT_VI_MAX_PHYS_PIPE_NUM
#define HI_VI_MAX_VIRT_PIPE_NUM OT_VI_MAX_VIRT_PIPE_NUM
#define HI_VI_MAX_PIPE_NUM OT_VI_MAX_PIPE_NUM
#define HI_VI_MAX_STITCH_GRP_NUM OT_VI_MAX_STITCH_GRP_NUM
#define HI_VI_MAX_WDR_FUSION_GRP_NUM OT_VI_MAX_WDR_FUSION_GRP_NUM
#define HI_VI_MAX_DISTRIBUTE_GRP_NUM OT_VI_MAX_DISTRIBUTE_GRP_NUM
#define HI_VI_MAX_DISTRIBUTE_PIPE_NUM OT_VI_MAX_DISTRIBUTE_PIPE_NUM
#define HI_VI_MAX_WDR_NUM OT_VI_MAX_WDR_NUM
#define HI_VI_MAX_WDR_FRAME_NUM OT_VI_MAX_WDR_FRAME_NUM
#define HI_VI_MAX_PHYS_CHN_NUM OT_VI_MAX_PHYS_CHN_NUM
#define HI_VI_MAX_EXT_CHN_NUM OT_VI_MAX_EXT_CHN_NUM
#define HI_VI_EXT_CHN_START OT_VI_EXT_CHN_START
#define HI_VI_MAX_CHN_NUM OT_VI_MAX_CHN_NUM
#define HI_VI_MAX_EXTCHN_BIND_PER_CHN OT_VI_MAX_EXTCHN_BIND_PER_CHN
#define HI_VI_MAX_SPLIT_NODE_NUM OT_VI_MAX_SPLIT_NODE_NUM
#define HI_VI_MIN_BNR_BUF_NUM OT_VI_MIN_BNR_BUF_NUM
#define HI_VI_MAX_BNR_BUF_NUM OT_VI_MAX_BNR_BUF_NUM
#define HI_VI_DEV_MIN_WIDTH OT_VI_DEV_MIN_WIDTH
#define HI_VI_DEV_MIN_HEIGHT OT_VI_DEV_MIN_HEIGHT
#define HI_VI_DEV_MAX_WIDTH OT_VI_DEV_MAX_WIDTH
#define HI_VI_DEV_MAX_HEIGHT OT_VI_DEV_MAX_HEIGHT
#define HI_VI_PIPE_OFFLINE_MIN_WIDTH OT_VI_PIPE_OFFLINE_MIN_WIDTH
#define HI_VI_PIPE_OFFLINE_MIN_HEIGHT OT_VI_PIPE_OFFLINE_MIN_HEIGHT
#define HI_VI_PIPE_OFFLINE_RAW_MIN_HEIGHT OT_VI_PIPE_OFFLINE_RAW_MIN_HEIGHT
#define HI_VI_PIPE_OFFLINE_MAX_WIDTH OT_VI_PIPE_OFFLINE_MAX_WIDTH
#define HI_VI_PIPE_OFFLINE_MAX_HEIGHT OT_VI_PIPE_OFFLINE_MAX_HEIGHT
#define HI_VI_PIPE_ONLINE_MIN_WIDTH OT_VI_PIPE_ONLINE_MIN_WIDTH
#define HI_VI_PIPE_ONLINE_MIN_HEIGHT OT_VI_PIPE_ONLINE_MIN_HEIGHT
#define HI_VI_PIPE_ONLINE_RAW_MIN_HEIGHT OT_VI_PIPE_ONLINE_RAW_MIN_HEIGHT
#define HI_VI_PIPE_ONLINE_MAX_WIDTH OT_VI_PIPE_ONLINE_MAX_WIDTH
#define HI_VI_PIPE_ONLINE_MAX_HEIGHT OT_VI_PIPE_ONLINE_MAX_HEIGHT
#define HI_VI_PHYS_CHN_OFFLINE_MIN_WIDTH OT_VI_PHYS_CHN_OFFLINE_MIN_WIDTH
#define HI_VI_PHYS_CHN_OFFLINE_MIN_HEIGHT OT_VI_PHYS_CHN_OFFLINE_MIN_HEIGHT
#define HI_VI_PHYS_CHN_OFFLINE_MAX_WIDTH OT_VI_PHYS_CHN_OFFLINE_MAX_WIDTH
#define HI_VI_PHYS_CHN_OFFLINE_MAX_HEIGHT OT_VI_PHYS_CHN_OFFLINE_MAX_HEIGHT
#define HI_VI_PHYS_CHN_ONLINE_MIN_WIDTH OT_VI_PHYS_CHN_ONLINE_MIN_WIDTH
#define HI_VI_PHYS_CHN_ONLINE_MIN_HEIGHT OT_VI_PHYS_CHN_ONLINE_MIN_HEIGHT
#define HI_VI_PHYS_CHN_ONLINE_MAX_WIDTH OT_VI_PHYS_CHN_ONLINE_MAX_WIDTH
#define HI_VI_PHYS_CHN_ONLINE_MAX_HEIGHT OT_VI_PHYS_CHN_ONLINE_MAX_HEIGHT
#define HI_VI_EXT_CHN_MIN_WIDTH OT_VI_EXT_CHN_MIN_WIDTH
#define HI_VI_EXT_CHN_MIN_HEIGHT OT_VI_EXT_CHN_MIN_HEIGHT
#define HI_VI_EXT_CHN_MAX_WIDTH OT_VI_EXT_CHN_MAX_WIDTH
#define HI_VI_EXT_CHN_MAX_HEIGHT OT_VI_EXT_CHN_MAX_HEIGHT
#define HI_VI_EXT_CHN_MAX_ZOOMIN OT_VI_EXT_CHN_MAX_ZOOMIN
#define HI_VI_EXT_CHN_MAX_ZOOMOUT OT_VI_EXT_CHN_MAX_ZOOMOUT
#define HI_VI_COMPRESS_PARAM_SIZE OT_VI_COMPRESS_PARAM_SIZE
#define HI_DIS_PYRAMID_LAYER_NUM OT_DIS_PYRAMID_LAYER_NUM
#define HI_DIS_MAX_CHN_NUM OT_DIS_MAX_CHN_NUM
#define HI_DIS_MAX_IMAGE_WIDTH OT_DIS_MAX_IMAGE_WIDTH
#define HI_DIS_MIN_IMAGE_WIDTH OT_DIS_MIN_IMAGE_WIDTH
#define HI_DIS_MAX_IMAGE_HEIGHT OT_DIS_MAX_IMAGE_HEIGHT
#define HI_DIS_MIN_IMAGE_HEIGHT OT_DIS_MIN_IMAGE_HEIGHT
#define HI_VO_MAX_PHYS_DEV_NUM OT_VO_MAX_PHYS_DEV_NUM
#define HI_VO_MAX_VIRT_DEV_NUM OT_VO_MAX_VIRT_DEV_NUM
#define HI_VO_MAX_CAS_DEV_NUM OT_VO_MAX_CAS_DEV_NUM
#define HI_VO_MAX_DEV_NUM OT_VO_MAX_DEV_NUM
#define HI_VO_MAX_PHYS_VIDEO_LAYER_NUM OT_VO_MAX_PHYS_VIDEO_LAYER_NUM
#define HI_VO_MAX_GFX_LAYER_NUM OT_VO_MAX_GFX_LAYER_NUM
#define HI_VO_MAX_PHYS_LAYER_NUM OT_VO_MAX_PHYS_LAYER_NUM
#define HI_VO_MAX_LAYER_NUM OT_VO_MAX_LAYER_NUM
#define HI_VO_MAX_LAYER_IN_DEV OT_VO_MAX_LAYER_IN_DEV
#define HI_VO_LAYER_V0 OT_VO_LAYER_V0
#define HI_VO_LAYER_G0 OT_VO_LAYER_G0
#define HI_VO_MAX_PRIORITY OT_VO_MAX_PRIORITY
#define HI_VO_MIN_TOLERATE OT_VO_MIN_TOLERATE
#define HI_VO_MAX_TOLERATE OT_VO_MAX_TOLERATE
#define HI_VO_MAX_CHN_NUM OT_VO_MAX_CHN_NUM
#define HI_VO_MIN_CHN_WIDTH OT_VO_MIN_CHN_WIDTH
#define HI_VO_MIN_CHN_HEIGHT OT_VO_MIN_CHN_HEIGHT
#define HI_VO_MAX_ZOOM_RATIO OT_VO_MAX_ZOOM_RATIO
#define HI_VO_MAX_NODE_NUM OT_VO_MAX_NODE_NUM
#define HI_VO_MAX_WBC_NUM OT_VO_MAX_WBC_NUM
#define HI_VO_MAX_IMG_WIDTH OT_VO_MAX_IMG_WIDTH
#define HI_VO_MAX_IMG_HEIGHT OT_VO_MAX_IMG_HEIGHT
#define HI_AVS_MAX_GRP_NUM OT_AVS_MAX_GRP_NUM
#define HI_AVS_PIPE_NUM OT_AVS_PIPE_NUM
#define HI_AVS_SPLIT_PIPE_NUM OT_AVS_SPLIT_PIPE_NUM
#define HI_AVS_MAX_CHN_NUM OT_AVS_MAX_CHN_NUM
#define HI_AVS_SPLIT_NUM OT_AVS_SPLIT_NUM
#define HI_AVS_CUBE_MAP_SURFACE_NUM OT_AVS_CUBE_MAP_SURFACE_NUM
#define HI_AVS_BLEND_MIN_IN_WIDTH OT_AVS_BLEND_MIN_IN_WIDTH
#define HI_AVS_BLEND_MIN_IN_HEIGHT OT_AVS_BLEND_MIN_IN_HEIGHT
#define HI_AVS_NO_BLEND_MIN_IN_WIDTH OT_AVS_NO_BLEND_MIN_IN_WIDTH
#define HI_AVS_NO_BLEND_MIN_IN_HEIGHT OT_AVS_NO_BLEND_MIN_IN_HEIGHT
#define HI_AVS_MAX_IN_WIDTH OT_AVS_MAX_IN_WIDTH
#define HI_AVS_MAX_IN_HEIGHT OT_AVS_MAX_IN_HEIGHT
#define HI_AVS_MIN_OUT_WIDTH OT_AVS_MIN_OUT_WIDTH
#define HI_AVS_MIN_OUT_HEIGHT OT_AVS_MIN_OUT_HEIGHT
#define HI_AVS_MAX_OUT_WIDTH OT_AVS_MAX_OUT_WIDTH
#define HI_AVS_MAX_OUT_HEIGHT OT_AVS_MAX_OUT_HEIGHT
#define HI_AI_DEV_MAX_NUM OT_AI_DEV_MAX_NUM
#define HI_AO_DEV_MIN_NUM OT_AO_DEV_MIN_NUM
#define HI_AO_DEV_MAX_NUM OT_AO_DEV_MAX_NUM
#define HI_AIO_MAX_NUM OT_AIO_MAX_NUM
#define HI_AENC_MAX_CHN_NUM OT_AENC_MAX_CHN_NUM
#define HI_ADEC_MAX_CHN_NUM OT_ADEC_MAX_CHN_NUM
#define HI_AI_MAX_CHN_NUM OT_AI_MAX_CHN_NUM
#define HI_AO_MAX_CHN_NUM OT_AO_MAX_CHN_NUM
#define HI_AO_SYS_CHN_ID OT_AO_SYS_CHN_ID
#define HI_AIO_MAX_CHN_NUM OT_AIO_MAX_CHN_NUM
#define HI_VPSS_MAX_GRP_NUM OT_VPSS_MAX_GRP_NUM
#define HI_VPSS_MAX_GRP_PIPE_NUM OT_VPSS_MAX_GRP_PIPE_NUM
#define HI_VPSS_VGS_GRP_NO OT_VPSS_VGS_GRP_NO
#define HI_VPSS_IP_NUM OT_VPSS_IP_NUM
#define HI_VPSS0 OT_VPSS0
#define HI_VPSS_MAX_PHYS_CHN_NUM OT_VPSS_MAX_PHYS_CHN_NUM
#define HI_VPSS_MAX_EXT_CHN_NUM OT_VPSS_MAX_EXT_CHN_NUM
#define HI_VPSS_MAX_CHN_NUM OT_VPSS_MAX_CHN_NUM
#define HI_VPSS_MAX_SPLIT_NODE_NUM OT_VPSS_MAX_SPLIT_NODE_NUM
#define HI_VPSS_MAX_STITCH_BUF_NUM OT_VPSS_MAX_STITCH_BUF_NUM
#define HI_VPSS_MAX_FPS OT_VPSS_MAX_FPS
#define HI_VPSS_USER_LIST_MAX_DEPTH OT_VPSS_USER_LIST_MAX_DEPTH
#define HI_VPSS_LOW_DELAY_MIN_LINE OT_VPSS_LOW_DELAY_MIN_LINE
#define HI_VPSS_MAX_OUT_RGN_NUM OT_VPSS_MAX_OUT_RGN_NUM
#define HI_VPSS_MIN_IMG_WIDTH OT_VPSS_MIN_IMG_WIDTH
#define HI_VPSS_MIN_IMG_HEIGHT OT_VPSS_MIN_IMG_HEIGHT
#define HI_VPSS_MAX_IN_IMG_WIDTH OT_VPSS_MAX_IN_IMG_WIDTH
#define HI_VPSS_MAX_IN_IMG_HEIGHT OT_VPSS_MAX_IN_IMG_HEIGHT
#define HI_VPSS_MAX_OUT_IMG_WIDTH OT_VPSS_MAX_OUT_IMG_WIDTH
#define HI_VPSS_MAX_OUT_IMG_HEIGHT OT_VPSS_MAX_OUT_IMG_HEIGHT
#define HI_VPSS_MAX_SEG_COMPACT_WIDTH OT_VPSS_MAX_SEG_COMPACT_WIDTH
#define HI_VPSS_MAX_ZOOMIN OT_VPSS_MAX_ZOOMIN
#define HI_VPSS_MAX_ZOOMOUT OT_VPSS_MAX_ZOOMOUT
#define HI_VPSS_EXT_CHN_MAX_ZOOMIN OT_VPSS_EXT_CHN_MAX_ZOOMIN
#define HI_VPSS_EXT_CHN_MAX_ZOOMOUT OT_VPSS_EXT_CHN_MAX_ZOOMOUT
#define HI_VPSS_EXT_CHN_MAX_IMG_WIDTH OT_VPSS_EXT_CHN_MAX_IMG_WIDTH
#define HI_VPSS_EXT_CHN_MAX_IMG_HEIGHT OT_VPSS_EXT_CHN_MAX_IMG_HEIGHT
#define HI_PCIV_MAX_CHN_NUM OT_PCIV_MAX_CHN_NUM
#define HI_MD_MAX_CHN OT_MD_MAX_CHN
#define HI_MD_MAX_WIDTH OT_MD_MAX_WIDTH
#define HI_MD_MAX_HEIGHT OT_MD_MAX_HEIGHT
#define HI_MD_MIN_WIDTH OT_MD_MIN_WIDTH
#define HI_MD_MIN_HEIGHT OT_MD_MIN_HEIGHT
#define HI_IVE_MAX_ARR_LEN OT_IVE_MAX_ARR_LEN
#define HI_IVE_MIN_ARR_LEN OT_IVE_MIN_ARR_LEN
#define HI_IVE_DEFAULT_NODE_NUM OT_IVE_DEFAULT_NODE_NUM
#define HI_DPU_RECT_MAX_GRP_NUM OT_DPU_RECT_MAX_GRP_NUM
#define HI_DPU_RECT_MAX_PIPE_NUM OT_DPU_RECT_MAX_PIPE_NUM
#define HI_DPU_RECT_MAX_CHN_NUM OT_DPU_RECT_MAX_CHN_NUM
#define HI_DPU_RECT_IN_IMAGE_MAX_WIDTH OT_DPU_RECT_IN_IMAGE_MAX_WIDTH
#define HI_DPU_RECT_IN_IMAGE_MAX_HEIGHT OT_DPU_RECT_IN_IMAGE_MAX_HEIGHT
#define HI_DPU_RECT_IN_IMAGE_MIN_WIDTH OT_DPU_RECT_IN_IMAGE_MIN_WIDTH
#define HI_DPU_RECT_IN_IMAGE_MIN_HEIGHT OT_DPU_RECT_IN_IMAGE_MIN_HEIGHT
#define HI_DPU_RECT_OUT_IMAGE_MAX_WIDTH OT_DPU_RECT_OUT_IMAGE_MAX_WIDTH
#define HI_DPU_RECT_OUT_IMAGE_MAX_HEIGHT OT_DPU_RECT_OUT_IMAGE_MAX_HEIGHT
#define HI_DPU_RECT_OUT_IMAGE_MIN_WIDTH OT_DPU_RECT_OUT_IMAGE_MIN_WIDTH
#define HI_DPU_RECT_OUT_IMAGE_MIN_HEIGHT OT_DPU_RECT_OUT_IMAGE_MIN_HEIGHT
#define HI_DPU_MATCH_MAX_GRP_NUM OT_DPU_MATCH_MAX_GRP_NUM
#define HI_DPU_MATCH_MAX_PIPE_NUM OT_DPU_MATCH_MAX_PIPE_NUM
#define HI_DPU_MATCH_MAX_CHN_NUM OT_DPU_MATCH_MAX_CHN_NUM
#define HI_DPU_MATCH_IN_IMAGE_MAX_WIDTH OT_DPU_MATCH_IN_IMAGE_MAX_WIDTH
#define HI_DPU_MATCH_IN_IMAGE_MAX_HEIGHT OT_DPU_MATCH_IN_IMAGE_MAX_HEIGHT
#define HI_DPU_MATCH_IN_IMAGE_MIN_WIDTH OT_DPU_MATCH_IN_IMAGE_MIN_WIDTH
#define HI_DPU_MATCH_IN_IMAGE_MIN_HEIGHT OT_DPU_MATCH_IN_IMAGE_MIN_HEIGHT
#define HI_DPU_MATCH_OUT_IMAGE_MAX_WIDTH OT_DPU_MATCH_OUT_IMAGE_MAX_WIDTH
#define HI_DPU_MATCH_OUT_IMAGE_MAX_HEIGHT OT_DPU_MATCH_OUT_IMAGE_MAX_HEIGHT
#define HI_DPU_MATCH_OUT_IMAGE_MIN_WIDTH OT_DPU_MATCH_OUT_IMAGE_MIN_WIDTH
#define HI_DPU_MATCH_OUT_IMAGE_MIN_HEIGHT OT_DPU_MATCH_OUT_IMAGE_MIN_HEIGHT
#define HI_SVP_NPU_MAX_STREAM_NUM OT_SVP_NPU_MAX_STREAM_NUM
#define HI_SVP_NPU_MIN_STREAM_NUM OT_SVP_NPU_MIN_STREAM_NUM
#define HI_SVP_NPU_DEF_STREAM_NUM OT_SVP_NPU_DEF_STREAM_NUM
#define HI_SVP_NPU_MAX_TASK_NODE_NUM OT_SVP_NPU_MAX_TASK_NODE_NUM
#define HI_SVP_NPU_MIN_TASK_NODE_NUM OT_SVP_NPU_MIN_TASK_NODE_NUM
#define HI_SVP_NPU_DEF_TASK_NODE_NUM OT_SVP_NPU_DEF_TASK_NODE_NUM
#define HI_SVP_NPU_MAX_EVENT_NUM OT_SVP_NPU_MAX_EVENT_NUM
#define HI_SVP_NPU_MIN_EVENT_NUM OT_SVP_NPU_MIN_EVENT_NUM
#define HI_SVP_NPU_DEF_EVENT_NUM OT_SVP_NPU_DEF_EVENT_NUM
#define HI_SVP_NPU_MAX_PROF_MEM_KB OT_SVP_NPU_MAX_PROF_MEM_KB
#define HI_SVP_NPU_MIN_PROF_MEM_KB OT_SVP_NPU_MIN_PROF_MEM_KB
#define HI_SVP_NPU_DEF_PROF_MEM_KB OT_SVP_NPU_DEF_PROF_MEM_KB
#define HI_SVP_NPU_DEF_OPS_SEL OT_SVP_NPU_DEF_OPS_SEL
#define HI_VGS_IP_NUM OT_VGS_IP_NUM
#define HI_VGS0 OT_VGS0
#define HI_VGS_MAX_CHN_NUM OT_VGS_MAX_CHN_NUM
#define HI_VGS_DEFAULT_JOB_NUM OT_VGS_DEFAULT_JOB_NUM
#define HI_VGS_DEFAULT_TASK_NUM OT_VGS_DEFAULT_TASK_NUM
#define HI_VGS_DEFAULT_NODE_NUM OT_VGS_DEFAULT_NODE_NUM
#define HI_VGS_MAX_JOB_NUM OT_VGS_MAX_JOB_NUM
#define HI_VGS_MIN_JOB_NUM OT_VGS_MIN_JOB_NUM
#define HI_VGS_MAX_TASK_NUM OT_VGS_MAX_TASK_NUM
#define HI_VGS_MIN_TASK_NUM OT_VGS_MIN_TASK_NUM
#define HI_VGS_MAX_NODE_NUM OT_VGS_MAX_NODE_NUM
#define HI_VGS_MIN_NODE_NUM OT_VGS_MIN_NODE_NUM
#define HI_VGS_MAX_SOLID_RECT_COVER_NUM OT_VGS_MAX_SOLID_RECT_COVER_NUM
#define HI_VGS_MAX_HOLLOW_RECT_COVER_NUM OT_VGS_MAX_HOLLOW_RECT_COVER_NUM
#define HI_VGS_MAX_RECT_COVER_NUM OT_VGS_MAX_RECT_COVER_NUM
#define HI_VGS_MAX_QUAD_COVER_NUM OT_VGS_MAX_QUAD_COVER_NUM
#define HI_VGS_MAX_COVER_NUM OT_VGS_MAX_COVER_NUM
#define HI_VGS_MAX_OSD_NUM OT_VGS_MAX_OSD_NUM
#define HI_VGS_MAX_MOSAIC_NUM OT_VGS_MAX_MOSAIC_NUM
#define HI_VGS_MAX_CORNER_RECT_NUM OT_VGS_MAX_CORNER_RECT_NUM
#define HI_TDE_MAX_NODE_NUM OT_TDE_MAX_NODE_NUM
#define HI_TDE_MIN_NODE_NUM OT_TDE_MIN_NODE_NUM
#define HI_TDE_DEFAULT_NODE_NUM OT_TDE_DEFAULT_NODE_NUM
#define HI_FISHEYE_MIN_IN_IMAGE_WIDTH OT_FISHEYE_MIN_IN_IMAGE_WIDTH
#define HI_FISHEYE_MIN_IN_IMAGE_HEIGHT OT_FISHEYE_MIN_IN_IMAGE_HEIGHT
#define HI_FISHEYE_MIN_OUT_IMAGE_WIDTH OT_FISHEYE_MIN_OUT_IMAGE_WIDTH
#define HI_FISHEYE_MIN_OUT_IMAGE_HEIGHT OT_FISHEYE_MIN_OUT_IMAGE_HEIGHT
#define HI_LDC_MIN_IMAGE_WIDTH OT_LDC_MIN_IMAGE_WIDTH
#define HI_LDC_MIN_IMAGE_HEIGHT OT_LDC_MIN_IMAGE_HEIGHT
#define HI_SPREAD_MIN_IMAGE_WIDTH OT_SPREAD_MIN_IMAGE_WIDTH
#define HI_SPREAD_MIN_IMAGE_HEIGHT OT_SPREAD_MIN_IMAGE_HEIGHT
#define HI_ROTATION_EX_MIN_IMAGE_WIDTH OT_ROTATION_EX_MIN_IMAGE_WIDTH
#define HI_ROTATION_EX_MIN_IMAGE_HEIGHT OT_ROTATION_EX_MIN_IMAGE_HEIGHT
#define HI_PMF_MIN_IMAGE_WIDTH OT_PMF_MIN_IMAGE_WIDTH
#define HI_PMF_MIN_IMAGE_HEIGHT OT_PMF_MIN_IMAGE_HEIGHT
#define HI_GDC_MAX_IMAGE_WIDTH OT_GDC_MAX_IMAGE_WIDTH
#define HI_GDC_MAX_IMAGE_HEIGHT OT_GDC_MAX_IMAGE_HEIGHT
#define HI_GDC_IP_NUM OT_GDC_IP_NUM
#define HI_GDC_MAX_JOB_NUM OT_GDC_MAX_JOB_NUM
#define HI_GDC_MIN_JOB_NUM OT_GDC_MIN_JOB_NUM
#define HI_GDC_MAX_TASK_NUM OT_GDC_MAX_TASK_NUM
#define HI_GDC_MIN_TASK_NUM OT_GDC_MIN_TASK_NUM
#define HI_GDC_MAX_NODE_NUM OT_GDC_MAX_NODE_NUM
#define HI_GDC_MIN_NODE_NUM OT_GDC_MIN_NODE_NUM
#define HI_GDC_DEFAULT_JOB_NUM OT_GDC_DEFAULT_JOB_NUM
#define HI_GDC_DEFAULT_TASK_NUM OT_GDC_DEFAULT_TASK_NUM
#define HI_GDC_DEFAULT_NODE_NUM OT_GDC_DEFAULT_NODE_NUM
#define HI_MCF_PIPE_NUM OT_MCF_PIPE_NUM
#define HI_MCF_MAX_GRP_NUM OT_MCF_MAX_GRP_NUM
#define HI_MCF_MAX_PHYS_CHN_NUM OT_MCF_MAX_PHYS_CHN_NUM
#define HI_MCF_MAX_EXT_CHN_NUM OT_MCF_MAX_EXT_CHN_NUM
#define HI_MCF_MAX_CHN_NUM OT_MCF_MAX_CHN_NUM
#define HI_MCF_MAX_PIPE_WIDTH OT_MCF_MAX_PIPE_WIDTH
#define HI_MCF_MAX_PIPE_HEIGHT OT_MCF_MAX_PIPE_HEIGHT
#define HI_MCF_MIN_PIPE_WIDTH OT_MCF_MIN_PIPE_WIDTH
#define HI_MCF_MIN_PIPE_HEIGHT OT_MCF_MIN_PIPE_HEIGHT
#define HI_MCF_MAX_CHN_WIDTH OT_MCF_MAX_CHN_WIDTH
#define HI_MCF_MAX_CHN_HEIGHT OT_MCF_MAX_CHN_HEIGHT
#define HI_MCF_MIN_CHN_WIDTH OT_MCF_MIN_CHN_WIDTH
#define HI_MCF_MIN_CHN_HEIGHT OT_MCF_MIN_CHN_HEIGHT
#define HI_MCF_MAX_EXT_CHN_WIDTH OT_MCF_MAX_EXT_CHN_WIDTH
#define HI_MCF_MAX_EXT_CHN_HEIGHT OT_MCF_MAX_EXT_CHN_HEIGHT
#define HI_MCF_MIN_EXT_CHN_WIDTH OT_MCF_MIN_EXT_CHN_WIDTH
#define HI_MCF_MIN_EXT_CHN_HEIGHT OT_MCF_MIN_EXT_CHN_HEIGHT
#define HI_UVC_MAX_CHN_NUM OT_UVC_MAX_CHN_NUM
#define HI_AIISP_PIPE_MIN_WIDTH OT_AIISP_PIPE_MIN_WIDTH
#define HI_AIISP_PIPE_MIN_HEIGHT OT_AIISP_PIPE_MIN_HEIGHT
#define HI_AIISP_PIPE_MAX_WIDTH OT_AIISP_PIPE_MAX_WIDTH
#define HI_AIISP_PIPE_MAX_HEIGHT OT_AIISP_PIPE_MAX_HEIGHT

#ifdef __cplusplus
}
#endif
#endif /* HI_DEFINES_H */
